@import '@/assets/css/panel-var.scss';
@import '@/assets/css/panel-mixin.scss';

$color: #666361;
$color2: #3f3c3e;

.ant-switch {
  background-color: #364241b3;

  &:after {
    background-color: #668d93;
  }
}

.ant-switch-checked {
  background-color: rgba(68, 203, 215, 0.7);

  &:after {
    background-color: #c1fffb;
  }
}

.ant-select,
.ant-input-number {
  color: #44cbd7;

  .ant-select-selection {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid $line-color;
    border-radius: 0;
    box-shadow: none;
  }
  .ant-select-arrow {
    color: #44cbd7;
  }
}

.ant-select-open {
  box-shadow: none;
}

.ant-select-dropdown {
  background-color: #1e1e1e;
  border-radius: 0;
}
.ant-select-dropdown-menu-item:first-child {
  border-radius: 0;
}
.ant-select-dropdown-menu-item:last-child {
  border-radius: 0;
}
.ant-select-dropdown-menu-item {
  color: $text-color;
}

.ant-select-dropdown-menu-item:hover {
  background-color: #668d931a;
  color: $text-color;
}

.ant-select-dropdown-menu-item-selected,
.ant-select-dropdown-menu-item-selected:hover {
  background-color: #668d9333;
  color: #44cbd7;
}
.ant-select-disabled{
  opacity: .4;
}

.ant-spin-blur {
  opacity: 0.1;
}
.ant-spin-dot i {
  background-color: #44cbd8;
}

.ant-notification{
  width: auto;
}
.ant-notification-notice-with-icon .ant-notification-notice-message{display: none;}
.ant-notification-notice {
  padding: 14px 30px;
  min-width: 200px;
  border: 1px solid rgba(204,255,249,.5);
  background: rgba(16, 16, 21, .8);
  color:rgba(36, 224, 241, 1);
}
.ant-notification-notice-icon-success,
.ant-message-success,
.ant-message-success .anticon,
.ant-message-info .anticon, .ant-message-loading .anticon{
  color: rgba(36, 224, 241, 1);
}
.ant-notification-notice-icon-waring,
.ant-message-warning,
.ant-message-warning .anticon {
  color: rgba(240, 163, 13, 1);
}
.ant-notification-notice-icon-error,
.ant-message-error,
.ant-message-error .anticon {
  color: rgba(222, 90, 84, 1);
}
.ant-notification-notice-with-icon .ant-notification-notice-description{
  margin-left: 40px;
}
.pop-success {
  color: rgba(36, 224, 241, 1);
  .ant-notification-notice-close{
    color: rgba(36, 224, 241, 1);
  }
}
.pop-warn {
  color: rgba(240, 163, 13, 1);
  .ant-notification-notice-close{
    color: rgba(240, 163, 13, 1);
  }
}
.pop-error {
  color: rgba(222, 90, 84, 1);
  .ant-notification-notice-close{
    color: rgba(222, 90, 84, 1);
  }
}
.ant-notification-notice-close{
  top: 14px;
}
.ant-message-notice-content {
  border: 1px solid rgba(204,255,249,.5);
  background: rgba(16, 16, 21, .8);
  color:rgba(36, 224, 241, 1);
}
.ant-notification-notice-message{
  color: #fff;
}
.ant-notification-notice-close{
  color: #fff;

}
.ant-notification-notice-close:hover{
  color: rgba(36, 224, 241, 1);
}
